import sys
from PyQt5.QtWidgets import QApplication
from UIScript.MainWidget import MainWidget
myapp = QApplication(sys.argv)
myDlg = MainWidget()
myDlg.show()
sys.exit(myapp.exec_())